package com.eshipenet.shipnet.shiprpc.service;

import com.eshipenet.shipnet.ship.FindAllResult;
import com.eshipenet.shipnet.ship.ShipOwner;
import org.apache.ignite.services.Service;
import squirrel.JSONQuery;

public interface ShipOwnerService extends Service {
    FindAllResult findAll(JSONQuery jsonQuery, int limit, int offset);
    ShipOwner createOne(ShipOwner shipOwner);
    ShipOwner updateOne(String id,ShipOwner shipOwner);
    ShipOwner deleteOne(String id);
    int getCountById(String id);
}
